package bm.com.project.server.common.service;

import bm.com.project.server.common.dto.BmAdjunctsDTO;
import bm.com.project.server.common.entity.BmAdjunctsEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 所有业务模块的附件信息
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2025-04-23 16:10:08
 */
public interface BmAdjunctsService extends IService<BmAdjunctsEntity> {

    List<BmAdjunctsEntity> getListByType(String sourceId,int workType);

    boolean saveAdjunct(BmAdjunctsDTO dto);

    boolean saveBatchAdjunct(List<BmAdjunctsDTO> dto);
}

